# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(PlanConturi)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(PlanConturi_SRCS planconturi.cpp planconturiwidget.cpp)
QT4_WRAP_CPP(PlanConturi_SRCS planconturi.h planconturiwidget.h)
QT4_WRAP_UI(PlanConturi_SRCS planConturiWidget.ui)
QT4_ADD_RESOURCES(PlanConturi_SRCS planConturi.qrc)

add_library(PlanConturi SHARED ${PlanConturi_SRCS})
add_dependencies(PlanConturi KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(PlanConturi KontAMabil ${QT_LIBRARIES})

install(TARGETS PlanConturi ${INSTALL_PLUGINS_DEFAULT_ARGS})
